<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Jasmine Spec Runner</title>
    @@TestFrameworkDependencies@@
    @@CodeCoverageDependencies@@
    @@ReferencedCSSFiles@@
    @@TestHtmlTemplateFiles@@
    @@ReferencedJSFiles@@
    @@TestJSFile@@
    <script type="text/javascript">

        (function () {
            var amdTestPath = "@@AMDTestPath@@";
            if (window.require && typeof window.require === "function" && amdTestPath !== "") {
                if (window.chutzpah) {
                    window.chutzpah.usingModuleLoader = true;
                }

                requirejs.config({
                    map: {
                        '*': {
                            @@AMDModuleMap@@
                            }
                    }
                });

                window.require([amdTestPath], function () {

                    console.log("!!_!! Stating Jasmine from AMD callback...");
                    window.initializeJasmine();
                });
            }
            else {
                var currentWindowOnload = window.onload;

                window.onload = function() {
                    if (currentWindowOnload) {
                        currentWindowOnload();
                    }
                    window.initializeJasmine();
                };
            }

        })();
    </script>
</head>
<body>
</body>
</html>
